home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 February: Technology Seed / Mac Tech Seed Feb '97.toast / ODF Release 3 / Release Notes / Converting from ODF 2 / API changes in ODF R3 next >
Encoding:
Text File  |  1996-12-12  |  11.4 KB  |  330 lines  |  [TEXT/MPS ]

  1. This file lists class and member names that have changed since ODF Release 2.
  2. They may have been renamed, moved to another class, or removed.
  3. When you hit compile errors, search this list to find out what to do.
  4. (*) indicates an API change.
  5.  
  6.  
  7. FW_CBreakLinkCommand::CommitDone - changed to FreeUndoState
  8. FW_CBreakLinkSourceCommand::CommitDone - changed to FreeUndoState
  9.  
  10. FW_CCharKeyEvent::GetRepeatCount - moved to new base class, FW_CKeyEvent
  11. FW_CCharKeyEvent::IsRepeating - moved to new base class, FW_CKeyEvent
  12.  
  13. FW_CCommand::GetFrame - (*) added parameter invalidate; use GetContextFrame as accessor for fFrame
  14. FW_CCommand::AddEndAction - gone
  15. FW_CDragCommand::AbortTransaction - promoted to FW_CCommand
  16.  
  17. FW_CEmbeddedODFacetsIterator - renamed to FW_CProxyFacetIterator (moved to file FWPxyIte.h)
  18.  
  19. FW_CEmbeddingContent - gone; subclass FW_CContent instead
  20. FW_CEmbeddingContent::IsDataOnlyOneProxy - moved to FW_CContent class
  21. FW_CEmbeddingContent::SingleEmbeddedFrameInternalized - gone; override IncorporateEmbeddedFrame and IncorporateEmbeddedPart instead
  22.  
  23. FW_CEmbeddingFrame::PrivAttachSourceFrame - renamed to AttachSourceFrame
  24.  
  25. FW_CEmbeddingPart::ReleaseAll - gone
  26.  
  27. FW_CEventDispatcher::DispatchVirtualKeyDownEvent - changed to DispatchVirtualKeyEvent; (*) extra parameter keyboardState
  28. FW_CEventDispatcher::DispatchVirtualKeyUpEvent - changed to DispatchVirtualKeyEvent; (*) extra parameter keyboardState
  29. FW_CEventDispatcher::OnMouseDown - no longer static
  30. FW_CEventDispatcher::OnMouseUp - no longer static
  31. FW_CEventDispatcher::fgAutoRepeatCount - changed to protected field fAutoRepeatCount
  32. FW_CEventDispatcher::fgLastMouseUp - changed to protected field fLastMouseUp
  33. FW_CEventDispatcher::fgLastMouseUpWhere - changed to protected field fLastMouseUpWhere
  34. FW_CEventDispatcher::fgClickCount - changed to protected field fClickCount
  35.  
  36. FW_CFloatingWindow::FW_CFloatingWindow - (*) added parameter FW_Boolean resizeable
  37.  
  38. FW_CFrame::HasSamePartEditorAs - renamed to FW_CFrame::HasOneOfMyPresentation
  39. FW_CFrame::InstallMenus - gone
  40. FW_CFrame::PrivAttachSourceFrame - renamed to AttachSourceFrame
  41.  
  42. FW_CLinkManager - (*) is now abstract; subclass FW_CLinkManagerImplementation instead
  43.  
  44. FW_CListBox::AddStringItem - (*) changed parameter clientData to long
  45. FW_CListBox::GetClientDataItem - (*) changed parameter clientData to long&
  46. FW_CListBox::GetStringItem - (*) changed parameter clientData to long&
  47. FW_CListBox::MacSetItem - (*) changed parameter clientData to long
  48. FW_CListBox::SetStringItem - (*) changed parameter clientData to long
  49.  
  50. FW_CPart::InstallMenus - override to install menus that are not in the menu bar resource
  51. FW_CPart::PrepContentProperty - (*) added parameter cloning
  52. FW_CPart::fIdleCount - gone
  53. FW_CPart::PrivCountIdleRegistering - gone
  54.  
  55. FW_CPrintHandler::FW_CPrintHandler - (*) parameters changed
  56. FW_CPrintHandler::CreatePrintView - gone; use CreatePrintFrame
  57. FW_CPrintHandler::GetFrame - renamed to GetPrintFrame (returns actual print frame)
  58. FW_CPrintHandler::GetPart - gone
  59. FW_CPrintHandler::GetPrintContentExtent - (*) added two parameters
  60. FW_CPrintHandler::GetPrintInfo - (*) added parameter Environment*
  61. FW_CPrintHandler::GetPrintView - gone
  62. FW_CPrintHandler::PreModalDialog - (*) is now virtual
  63. FW_CPrintHandler::PostModalDialog - (*) is now virtual
  64. FW_CPrintHandler::PrintPage - (*) removed parameter pageBounds
  65. FW_CPrintHandler::ReleasePrintView - gone; use ReleasePrintFrame
  66.  
  67. FW_CPrivCreateLinkSourceCommand::GetODLinkSource - gone
  68.  
  69. FW_CPrivMacControlHelper::SetMax - (*) added parameter redraw
  70. FW_CPrivMacControlHelper::SetMin - (*) added parameter redraw
  71. FW_CPrivMacControlHelper::SetText - (*) added parameter redraw
  72.  
  73. FW_CProxyFrame::FW_CProxyFrame - (*) last parameter changed from wasInLimbo to saveInLimbo
  74. FW_CProxyFrame::Release - gone
  75. FW_CProxyFrame::IsFrameInMemory - gone
  76.  
  77. FW_CScriptableCollection::GetPropertyInfo - (*) new parameter whichProperty
  78.  
  79. FW_CScrollBar::PrivAttachToScroller - gone
  80.  
  81. FW_CSuperView::PrivInvalidateViewIternalTransform - renamed to PrivInvalidateViewInternalTransform
  82. FW_CSuperView::PrivSetExtent - changed to public from protected
  83.  
  84. FW_CView::PrivIsTopPrintedView - gone
  85. FW_CView::PrivSetTopPrintedView - gone
  86.  
  87. FW_CVirtualKeyEvent::GetKeyboardState - moved to new base class, FW_CKeyEvent
  88. FW_CVirtualKeyEvent::GetRepeatCount - moved to new base class, FW_CKeyEvent
  89. FW_CVirtualKeyEvent::IsRepeating - moved to new base class, FW_CKeyEvent
  90. FW_CVirtualKeyEvent::KeyboardState - moved to new base class, FW_CKeyEvent
  91.  
  92. FW_MEventHandler::DoCharKey - renamed to DoCharKeyDown
  93. FW_MEventHandler::DoVirtualKey - renamed to DoVirtualKeyDown
  94. FW_MEventHandler::HandleCharKey - renamed to HandleCharKeyDown
  95. FW_MEventHandler::HandleVirtualKey - renamed to HandleVirtualKeyDown
  96.  
  97. FW_MProxy::AcquireEmbeddedPart - (*) removed parameter instantiate
  98. FW_MProxy::AcquireEmbeddedFrame - (*) removed parameter instantiate
  99. FW_MProxy::Embed - gone; call EmbedFrame or EmbedPart instead
  100. FW_MProxy::ReleaseAll - gone    
  101.  
  102. FW_MScriptable::GetPropertyInfo - (*) new parameter whichProperty
  103.  
  104.  
  105. FW_CAlphaNumFilter::DoCharKey - renamed to DoCharKeyDown
  106. FW_CEditView::DoCharKey - renamed to DoCharKeyDown
  107. FW_CIntegerFilter::DoCharKey - renamed to DoCharKeyDown
  108.  
  109. FW_CDialogFrame::DoVirtualKey - renamed to DoVirtualKeyDown
  110. FW_CEditView::DoVirtualKey - renamed to DoVirtualKeyDown
  111. FW_CListBox::DoVirtualKey - renamed to DoVirtualKeyDown
  112. FW_CViewTabber::DoVirtualKey - renamed to DoVirtualKeyDown
  113.  
  114.  
  115. FWDescCoerceFunc - renamed to FW_DescCoerceFunc
  116. FWDescComparisonFunc - renamed to FW_DescComparisonFunc
  117.  
  118.  
  119. FW_EFontStyles - gone; elements changed to const FW_FontStyle
  120. FW_kCopy - (*) changed from #define to const FW_TransferModes value
  121. FW_kNotCopy - (*) changed from #define to const FW_TransferModes value
  122. FW_kOr - (*) changed from #define to const FW_TransferModes value
  123. FW_kNotOr - (*) changed from #define to const FW_TransferModes value
  124. FW_kXOr - (*) changed from #define to const FW_TransferModes value
  125. FW_kNotXOr - (*) changed from #define to const FW_TransferModes value
  126. FW_kClear - (*) changed from #define to const FW_TransferModes value
  127. FW_kNotClear - (*) changed from #define to const FW_TransferModes value
  128. FW_kHilite - (*) changed from #define to const FW_TransferModes value
  129. FW_kErase - (*) changed from #define to const FW_TransferModes value
  130. FW_kInvert - (*) changed from #define to const FW_TransferModes value
  131. FW_kSystemHilite - (*) changed from #define to const FW_TransferModes value
  132.  
  133. FW_kFontResourceType - moved to file FWGraphx.k in the OS layer
  134.  
  135. FW_SetRGB - renamed to FW_PrivSetRGB
  136. FW_RGB_R - renamed to FW_PrivRGB_R
  137. FW_RGB_G - renamed to FW_PrivRGB_G
  138. FW_RGB_B - renamed to FW_PrivRGB_B
  139. FW_RGB - this macro is now defined within FWGConst.cpp; its use is deprecated
  140.  
  141. FW_RenderIconAlignment - (*) changed from a typedef to an enum
  142. FW_CIconShape::kDefaultAlignment - gone
  143.  
  144. FW_CString32 - gone; use FW_CString
  145. FW_CString255 - gone; use FW_CString
  146.  
  147. FW_MNotifier::PrivGetNotifierID - (*) changed from public to private
  148. FW_MNotifier::PrivSetNotifierID - (*) changed from public to private
  149.  
  150. ODPlatformCanvas - use FW_PlatformCanvas instead
  151.  
  152. # -- Resources --
  153. FW_RColor - moved to file FWGraphx.fr in the OS layer
  154. FW_RFont - moved to file FWGraphx.fr in the OS layer
  155. FW_RPoint - moved to file FWODMisc.fr in the OS layer
  156. FW_RRect - moved to file FWODMisc.fr in the OS layer
  157.  
  158. The following definitions were moved from FWViews.fr to FWODMisc.fr in the OS layer:
  159.     FW_FIX
  160.     FW_ONE
  161.     FW_BOUNDS
  162.     FW_POINT
  163.  
  164. The following definitions were moved from FWViews.fr to FWGraphx.fr in the OS layer:
  165.     FW_NORMAL_FONT
  166.     FW_SYSTEM_FONT
  167.     FW_HELVETICA12
  168.     FW_TIMES12
  169.     FW_COURIER12
  170.     FW_PALATINO12
  171.     FW_RGB_BLACK
  172.     FW_RGB_WHITE
  173.     FW_RGB_RED
  174.     FW_RGB_YELLOW
  175.     FW_RGB_BLUE
  176.     FW_RGB_GREEN
  177.     FW_RGB_BROWN
  178.     FW_RGB_PURPLE
  179.     FW_RGB_LIGHT_BLUE
  180.     FW_RGB_GRAY
  181.     FW_RGB_LIGHT_GRAY
  182.     FW_RGB_DARK_GRAY
  183.  
  184. # -- Windows --
  185. FW_CPrivGDIBrush - renamed to FW_CPrivWinGDIBrush
  186. FW_CPrivGDIFont - renamed to FW_CPrivWinGDIFont
  187. FW_CPrivGDIPen - renamed to FW_CPrivWinGDIPen
  188.  
  189. #===============================================================================
  190. # --- New classes, functions, constants ---
  191.  
  192. #-- Framework layer --
  193. FW_CGraphicControl class
  194. FW_CIncludeView class
  195. FW_CKeyEvent class - new base class for FW_CCharKeyEvent and FW_CVirtualKeyEvent
  196. FW_CPrintJobInfo - located in FWPrInfo.h
  197.  
  198. FW_CCommand::AbortTransaction
  199. FW_CCommand::GetContextFrame
  200. FW_CCommand::PrivActivateFrame
  201. FW_CCommand::PrivValidateFrame
  202. FW_CCommand::FreeUndoStateAfterFailure
  203.  
  204. FW_CContent::IncorporateEmbeddedFrame
  205. FW_CContent::IncorporateEmbeddedPart
  206.  
  207. FW_CDesc::PutShortInteger (was not implemented in R2)
  208.  
  209. FW_CDialogFrame::FocusStateChanged
  210.  
  211. FW_CEmbeddingFrame::GetFacetWithActiveBorderUnderMouse
  212. FW_CEmbeddingFrame::HandleDraw
  213.  
  214. FW_CFrame::GetPrintResolution 
  215. FW_CFrame::IsEmbeddedInLimbo
  216. FW_CFrame::IsInRootWindow
  217.  
  218. FW_CODPart::GetPrintResolution (was not implemented in R2)
  219.  
  220. FW_CPart::FocusAcquiredInFrame
  221. FW_CPart::FocusLostInFrame
  222. FW_CPart::PrivInstallMenus
  223.  
  224. FW_CPresentation::PrivFindAnotherSourceFrame
  225.  
  226. FW_CPrintHandler::CreatePrintFrame
  227. FW_CPrintHandler::GetPrintPresentation
  228. FW_CPrintHandler::NewPrintJobInfo
  229. FW_CPrintHandler::NextPrintPage
  230. FW_CPrintHandler::PreparePrinterResolution
  231. FW_CPrintHandler::ReleasePrintFrame
  232. FW_CPrintHandler::SetPrintPresentation
  233.  
  234. FW_CPrintInfo::ContentToPage
  235. FW_CPrintInfo::GetBestPrinterResolution
  236. FW_CPrintInfo::PageToContent
  237. FW_CPrintInfo::PrivAdjustPageRange
  238. FW_CPrintInfo::fFirstPageOffset
  239.  
  240. FW_CProxyFrame::PrivCommitPasteDone
  241.  
  242. FW_CSemanticInterface::IsStandardPartToken
  243. FW_CSemanticInterface::ParseStandardPartToken
  244.  
  245. FW_CView::PrivCreateSubViews
  246. FW_CView::PrivPostCreateViewFromStream
  247.  
  248. FW_MEventHandler::DoCharKeyUp
  249. FW_MEventHandler::DoVirtualKeyUp
  250. FW_MEventHandler::HandleCharKeyUp
  251. FW_MEventHandler::HandleVirtualKeyUp
  252.  
  253. FW_MProxy::CommitPasteDone
  254.  
  255. BindPartToFile
  256. FW_IsOpenDocDocument
  257. FW_SetInLimbo
  258.  
  259.  
  260. #-- OS layer --
  261. FW_CPrivGXStatus
  262.  
  263. FW_IsGXPrintingInstalled
  264. FW_GetFacetPrintJobInfo
  265. FW_MacGetFontName
  266.  
  267. static void operator >>(FW_CReadableStream& stream, FW_RenderIconAlignment& transform);
  268. static void operator >>(FW_CReadableStream& stream, FW_RenderIconTransform& transform);
  269. static void operator <<(FW_CWritableStream& stream, const FW_RenderIconAlignment& transform);
  270. static void operator <<(FW_CWritableStream& stream, const FW_RenderIconTransform& transform);
  271.  
  272. FW_CColor::Red
  273. FW_CColor::Green
  274. FW_CColor::Blue
  275.  
  276. FW_CFont::GetPlatformFontName
  277.  
  278. FW_kIconAlignHCenter - added as synonym for FW_kIconAlignCenter (to parallel FW_kIconAlignVCenter)
  279. FW_kLastMenuID - new constant in FWMnuItm.h
  280.  
  281. FW_RGBComponent - typedef unsigned char FW_RGBComponent;
  282.  
  283.  
  284. #-- Foundation layer --
  285. FW_TRecCountedCollection<class t>
  286. FW_TRecCountedCollectionIterator<class t>
  287.  
  288. FW_CString::HasSameLocale
  289. FW_CString::IsValidDecimalNumber
  290. FW_CString::IsValidHexadecimalNumber
  291.  
  292. FW_TCountedPtr::GetRep
  293.  
  294. operator%(fixed, fixed) was not defined in debug version
  295.  
  296. #-- Resources --
  297. FW_RIncludeView - new resource type in FWViews.fr
  298.  
  299. FW_RInk - new resource type in FWGraphx.fr
  300. Standard inks added to FWGraphx.fr:
  301.     FW_NORMAL_INK
  302.     FW_INVERT_INK
  303.     FW_INVERT_INK
  304.     FW_WHITE_ERASE_INK
  305.  
  306. FW_RPattern - new resource type in FWGraphx.fr
  307. FW_RBWPattern - new resource type in FWGraphx.fr
  308. FW_RColorPattern - new resource type in FWGraphx.fr
  309. Standard black/white patterns added to FWGraphx.fr:
  310.     FW_PATTERN_BLACK
  311.     FW_PATTERN_WHITE
  312.     FW_PATTERN_GRAY
  313.     FW_PATTERN_LIGHT_GRAY
  314.     FW_PATTERN_DARK_GRAY
  315.     FW_PATTERN_HORIZONTAL
  316.     FW_PATTERN_VERTICAL
  317.     FW_PATTERN_FDIAGONAL
  318.     FW_PATTERN_BDIAGONAL
  319.     FW_PATTERN_CROSS
  320.     FW_PATTERN_DIAGCROSS
  321.     FW_PATTERN_ANT
  322.  
  323. FW_RStyle - new resource type in FWGraphx.fr
  324. Standard styles added to FWGraphx.fr:
  325.     FW_NORMAL_STYLE
  326.     FW_DASH_STYLE
  327.     FW_DOT_STYLE
  328.     FW_DASHDOT_STYLE
  329.     FW_DASHDOTDOT_STYLE
  330.